//-----------------------------------------------------------------------
// <copyright file="tblExchangeRateBase.cs" company="VNSpoke">
//     Copyright ? VNSpoke. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;


namespace Robot.Entities
{
	[Serializable]
	public class tblExchangeRateBase
	{
		
		#region Variable Declarations
		
		private Guid				id = Guid.Empty;
		
		private string				buyCCY = string.Empty;
		
		private decimal?				buyRate = null;
		
		private string				sellCCY = string.Empty;
		
		private decimal?				sellRate = null;
		
		private Guid				fromFileID = Guid.Empty;
		
		private DateTime?				createdDate = null;
		
		private string				createdBy = string.Empty;
		#endregion
		
		#region Constructors
		public tblExchangeRateBase() {}
		
		public tblExchangeRateBase (
			Guid id,
			string buyCCY,
			decimal? buyRate,
			string sellCCY,
			decimal? sellRate,
			Guid fromFileID,
			DateTime? createdDate,
			string createdBy)
		
		{
			this.id = id;
			this.buyCCY = buyCCY;
			this.buyRate = buyRate;
			this.sellCCY = sellCCY;
			this.sellRate = sellRate;
			this.fromFileID = fromFileID;
			this.createdDate = createdDate;
			this.createdBy = createdBy;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is uniqueidentifier</value>
		public Guid ID
		{
			get { return id; }
			set { id = value; }
		}
		public Guid originalID
		{
			get { return originalID; }
			set { originalID = value; }
		} 
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string BuyCCY
		{
			get { return buyCCY; }
			set { buyCCY = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? BuyRate
		{
			get { return buyRate; }
			set { buyRate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string SellCCY
		{
			get { return sellCCY; }
			set { sellCCY = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? SellRate
		{
			get { return sellRate; }
			set { sellRate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is uniqueidentifier</value>
		public Guid FromFileID
		{
			get { return fromFileID; }
			set { fromFileID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime? CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CreatedBy
		{
			get { return createdBy; }
			set { createdBy = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum tblExchangeRateColumns
	{
		ID,
		BuyCCY,
		BuyRate,
		SellCCY,
		SellRate,
		FromFileID,
		CreatedDate,
		CreatedBy
	}//End enum
}